//
//  CheckCourseLastTestManager.m
//  JPWords
//
//  Created by 梁淑婷 on 2024/7/7.
//

#import "CheckCourseLastTestManager.h"

@implementation CheckCourseLastTestManager

-(NSString *)methodName{
    return @"/system/test/group/app/getNextTest";
}

-(JPAPIManagerRequestType)requestType{
    return JPAPIManagerRequestTypeGET;
}

-(NSDictionary *)paramsForApi:(JPAPIBaseManager *)manager{
    NSMutableDictionary *dict = @{}.mutableCopy;
    dict[@"bookId"] = self.bookId;
    NSString *userId = [[NSUserDefaults standardUserDefaults]objectForKey:@"userId"];
    dict[@"userId"] = userId;
    return dict;
}

@end
